package com.jjw.springbootcvs.mapper;


import com.jjw.springbootcvs.pojo.dto.SupplierDTO;
import com.jjw.springbootcvs.pojo.entity.Supplier;

import java.util.List;

/**
 * @author xiaojuan
 * @Date 2024/11/1
 * @Description
 */

public interface SupplierMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

    List<Supplier> getSupplierList();

    List<Supplier> getAllSupplierListPage(SupplierDTO supplierDTO);
}